package com.cjc.hotel.server.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author chenjuncai
 */
@ApiModel(value="com-cjc-hotel-server-entity-vo-AdminVo")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminVo {


    /**
     * 用户名
     */
    @ApiModelProperty(value="用户名")
    @NotBlank(message = "用户名不为空！")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value="密码")
    @NotBlank(message = "密码不为空！")
    private String password;
}
